package com.yuantong.xyerp.core.api.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 仓库调拨单
 * </p>
 *
 * @author JianguoYin
 * @since 2021-08-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Allocation对象", description="仓库调拨单")
public class Allocation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "uuid()增加")
    private String id;

    @ApiModelProperty(value = "调拨单据号")
    private String docNo;

    @ApiModelProperty(value = "调拨主题")
    private String title;

    @ApiModelProperty(value = "产品大类code")
    private String categoryCode;

    @ApiModelProperty(value = "经办人id")
    private String operatorId;

    @ApiModelProperty(value = "0-原料；1-成品")
    private String type;

    @ApiModelProperty(value = "出库仓库ID")
    private String sourceWarehouseId;

    @ApiModelProperty(value = "入库仓库ID")
    private String targetWarehouseId;

    @ApiModelProperty(value = "调拨时间")
    private Date transferTime;

    @ApiModelProperty(value = "0-发起；1-出库；2-运输；3-入库；")
    private String state;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "最近修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建人id")
    private String creatorId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "-1-取消，0-保存,1-待出库，2-待质检，3-待入库，4-完成")
    private String status;


}
